<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./js/vue.js"></script>
    <style>
    span{
        color:red;
    }
    </style>
</head>
<body>
    <div id="app">
        {{msg2}} ====={{msg3.aa}} 
        <hr>
        <span>{{msg1}}</span>
        <hr>
        <span v-text="msg2">{{msg1}}</span>
        <hr>
        <span v-html="msg2">1111111</span>
        <hr>
        <span v-pre>{{msg1}}</span>
    </div>

    <script>
        // /* {{}}  插值表达式     小胡子语法
 
        var vm =new  Vue({
            el:'#app',
            data:{
                msg1:'hello1',
                msg2:'hello2<div>1233</div>',
                msg3:{
                    aa:11111
                },
                say:function(){
                    return  22222
                }
            }
        })
    </script>
</body>
</html>